package com.asap.demo.model;

import java.io.Serializable;
import java.util.List;

public class Stat implements Serializable {

	private static final long serialVersionUID = 7288283038219673869L;

	private String timeField;
	private int timeWindow;
	private int secTimeWindow;
	private String timeUnit;
	private String sumField;
	private List<String> groupField;
	private List<String> distinctField;
	private int OutputTime;
	private int groupType;
	private String compareFunc;
	private String compareValue;
	private String Cidr;
	private String ipSegmentField;
	private String stateValue;

	public String getTimeField() {
		return timeField;
	}

	public void setTimeField(String timeField) {
		this.timeField = timeField;
	}

	public int getTimeWindow() {
		return timeWindow;
	}

	public void setTimeWindow(int timeWindow) {
		this.timeWindow = timeWindow;
	}

	public int getSecTimeWindow() {
		return secTimeWindow;
	}

	public void setSecTimeWindow(int secTimeWindow) {
		this.secTimeWindow = secTimeWindow;
	}

	public String getTimeUnit() {
		return timeUnit;
	}

	public void setTimeUnit(String timeUnit) {
		this.timeUnit = timeUnit;
	}

	public String getSumField() {
		return sumField;
	}

	public void setSumField(String sumField) {
		this.sumField = sumField;
	}

	public List<String> getGroupField() {
		return groupField;
	}

	public void setGroupField(List<String> groupField) {
		this.groupField = groupField;
	}

	public List<String> getDistinctField() {
		return distinctField;
	}

	public void setDistinctField(List<String> distinctField) {
		this.distinctField = distinctField;
	}

	public int getOutputTime() {
		return OutputTime;
	}

	public void setOutputTime(int outputTime) {
		OutputTime = outputTime;
	}

	public int getGroupType() {
		return groupType;
	}

	public void setGroupType(int groupType) {
		this.groupType = groupType;
	}

	public String getCompareFunc() {
		return compareFunc;
	}

	public void setCompareFunc(String compareFunc) {
		this.compareFunc = compareFunc;
	}

	public String getCompareValue() {
		return compareValue;
	}

	public void setCompareValue(String compareValue) {
		this.compareValue = compareValue;
	}

	public String getCidr() {
		return Cidr;
	}

	public void setCidr(String cidr) {
		Cidr = cidr;
	}

	public String getStateValue() {
		return stateValue;
	}

	public void setStateValue(String stateValue) {
		this.stateValue = stateValue;
	}

	public String getIpSegmentField() {
		return ipSegmentField;
	}

	public void setIpSegmentField(String ipSegmentField) {
		this.ipSegmentField = ipSegmentField;
	}

	@Override
	public String toString() {
		return "Stat{" +
				"timeField='" + timeField + '\'' +
				", timeWindow=" + timeWindow +
				", secTimeWindow=" + secTimeWindow +
				", timeUnit='" + timeUnit + '\'' +
				", sumField='" + sumField + '\'' +
				", groupField=" + groupField +
				", distinctField=" + distinctField +
				", OutputTime=" + OutputTime +
				", groupType=" + groupType +
				", compareFunc='" + compareFunc + '\'' +
				", compareValue='" + compareValue + '\'' +
				", Cidr='" + Cidr + '\'' +
				", ipSegmentField='" + ipSegmentField + '\'' +
				", stateValue='" + stateValue + '\'' +
				'}';
	}
}
